package com.indexingsystem.boss.Vo;

import java.io.Serializable;
import java.util.List;

public class WebsiteResListReqQueryVo implements Serializable
{
    /**
     * 
     */
    private static final long serialVersionUID = -4791929368251242961L;

    private List<String> resCategoryIdList;
    
    private Integer pageNumber;
    
    private Integer pageSize;
   
    public List<String> getResCategoryIdList()
    {
        return resCategoryIdList;
    }

    public void setResCategoryIdList(List<String> resCategoryIdList)
    {
        this.resCategoryIdList = resCategoryIdList;
    }

    public Integer getPageNumber()
    {
        return pageNumber;
    }

    public void setPageNumber(Integer pageNumber)
    {
        this.pageNumber = pageNumber;
    }

    public Integer getPageSize()
    {
        return pageSize;
    }

    public void setPageSize(Integer pageSize)
    {
        this.pageSize = pageSize;
    }

    @Override
    public int hashCode()
    {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((pageNumber == null) ? 0 : pageNumber.hashCode());
        result = prime * result + ((pageSize == null) ? 0 : pageSize.hashCode());
        result = prime * result + ((resCategoryIdList == null) ? 0 : resCategoryIdList.hashCode());
        return result;
    }

    @Override
    public boolean equals(Object obj)
    {
        if (this == obj) return true;
        if (obj == null) return false;
        if (getClass() != obj.getClass()) return false;
        WebsiteResListReqQueryVo other = (WebsiteResListReqQueryVo)obj;
        if (pageNumber == null)
        {
            if (other.pageNumber != null) return false;
        }
        else if (!pageNumber.equals(other.pageNumber)) return false;
        if (pageSize == null)
        {
            if (other.pageSize != null) return false;
        }
        else if (!pageSize.equals(other.pageSize)) return false;
        if (resCategoryIdList == null)
        {
            if (other.resCategoryIdList != null) return false;
        }
        else if (!resCategoryIdList.equals(other.resCategoryIdList)) return false;
        return true;
    }

    public WebsiteResListReqQueryVo()
    {
        super();
    }

    public WebsiteResListReqQueryVo(List<String> resCategoryIdList, Integer pageNumber,
                                    Integer pageSize)
    {
        super();
        this.resCategoryIdList = resCategoryIdList;
        this.pageNumber = pageNumber;
        this.pageSize = pageSize;
    }

    @Override
    public String toString()
    {
        return "WebsiteResListReqQueryVo [resCategoryIdList=" + resCategoryIdList
               + ", pageNumber=" + pageNumber + ", pageSize=" + pageSize + "]";
    }
   
 }